Total Complexity | 1 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import {CommandHandler} from '@nestjs/cqrs'; |
||
5 | |||
6 | @CommandHandler(CreateQuoteCommand) |
||
7 | export class CreateQuoteCommandHandler { |
||
8 | constructor( |
||
9 | @Inject('IQuoteRepository') |
||
10 | private readonly quoteRepository: IQuoteRepository |
||
11 | ) {} |
||
12 | |||
13 | public async execute(command: CreateQuoteCommand): Promise<string> { |
||
14 | return ''; |
||
15 | } |
||
17 |